package org.zjt.platform.druiddemo.service.impl;

import org.zjt.platform.druiddemo.service.IUserManagerService;

/**
 * @author <a href="juntao.zhang@qq.com">juntao.zhang</a>
 * @Description:
 * @Package org.zjt.platform.druiddemo.service.impl
 * @date 2018/3/13 14:08
 * @see
 */
public class UserManagerServiceImpl implements IUserManagerService {
    private String name;

    public void setName(String name){
        this.name=name;
    }

    public String getName(){
        return this.name;
    }

    public String findUser(){
        System.out.println("============执行业务方法findUser,查找的用户是："+name+"=============");
        return name;
    }

    public void addUser(){
        System.out.println("============执行业务方法addUser=============");
        //throw new RuntimeException();
    }
}
